Skip to content

Removed avx512_calls.c by replacing LUTs with intrinsics / shifts - #357

Open
manodeep wants to merge 3 commits into
masterfrom
remove_avx512_calls_c
Open

Removed avx512_calls.c by replacing LUTs with intrinsics / shifts#357
manodeep wants to merge 3 commits into
masterfrom
remove_avx512_calls_c

Conversation

@manodeep

@manodeep manodeep commented Aug 13, 2026

Copy link
Copy Markdown
Owner

The AVX512 kernel was the only one that had a C source file for implementing lookup tables (LUTs) for floats and doubles. This has bothered me for a while, but now I finally know how to remove it (well, really the calculating partial load mask was the bottleneck and I got the solution from simSIMD, although simSIMD/numkong now appears to use _bzhi - which requires BMI2 to be enabled at compile time and available at runtime - so the shift method seemed safer)

Ugghh My shell script / editor seems to have made some necessary but unasked for trailing-whitespace fixes as well :( Fixed now

@manodeep
manodeep requested a review from lgarrison August 13, 2026 13:11
@manodeep
manodeep force-pushed the remove_avx512_calls_c branch from 28bd033 to 5a96e4b Compare August 14, 2026 12:15
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant